package net.lainiao.morethread.Chapter1.demo3;

import java.util.Date;
import java.util.concurrent.TimeUnit;

/**
 * Created by Administrator on 2017/2/27.
 */
public class NetworkConnectionsLoader implements Runnable {
    @Override
    public void run() {
        System.out.println("Begin Net Work loading:"+new Date());
        try {
            TimeUnit.SECONDS.sleep(4);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("Net Work  loading has finnished:"+new Date());
    }
}
